package com.atguigu.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : wenchao.long
 * @date : Created in 2020/11/11 19:43 周三
 * @description :
 */
@Data
@ConfigurationProperties(prefix = "person.dog")
@Component
public class Dog {
    private String name;
    private Integer age;
}
